package com.exam.springbootredis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户实体
 *
 */
@Data
@AllArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 232434355353L;
    /**
     *主键id
     *
     */
private Long id;
    /**
     * 姓名
     *
     */
    private String name;
}
